
from flask import session
from flask_migrate import Migrate,MigrateCommand
from flask_script import Manager

from info import app,db








manager = Manager(app)

Migrate(app,db)

manager.add_command('db',MigrateCommand)


@app.route('/index')
def index():
    session['name']='itning'
    return "123"

if __name__ == '__main__':
    manager.run()

